package com.dp.appi.util;

/**
 * Created by xiaoji on 2016/4/21.
 */
public class ExceptionUtil {
    public static String getExceptionAllinformation(Exception ex){
        String sOut = "";
        StackTraceElement[] trace = ex.getStackTrace();
        for (StackTraceElement s : trace) {
            sOut += "\tat " + s + "\r\n";
        }
        return sOut;
    }
}
